/**
 * 
 */
package com.sun.j2ee.blueprints.servicelocator.web;

import java.net.URL;
import com.sun.j2ee.blueprints.servicelocator.SimpleCache;

/**
 * @author nicolas
 *
 */
public aspect ServiceLocatorCache extends SimpleCache issingleton() {

	protected pointcut cachedMethods(String Args): args(Args) && 
		target(ServiceLocator) &&
		execution(public * get*(String,..)) && 
		!(execution(public boolean getBoolean(String)) || 
		  execution(public String getString(String)) || 
		  execution(public URL getUrl(String)));
	
}
